﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="Listmy.aspx.cs" Inherits="lcs.Web.Admin.out_storage_detail.Listmy" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <script language="javascript" src="/js/CheckBox.js" type="text/javascript"></script>
    <script src="../../js/myjs.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<!--Title -->

            <!--Title end -->

            <!--Add  -->

            <!--Add end -->

            <!--Search -->
            <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                <tr>
                    <td style="width: 80px" align="right" class="tdbg">
                         <b>物料：</b>
                    </td>
                    <td class="tdbg">                       
                    <asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;<b>安装地址：</b>&nbsp; <asp:TextBox ID="txtdress" runat="server"></asp:TextBox>&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" >
                    </asp:Button>                    
                        
                    </td>
                    <td class="tdbg">
                    </td>
                </tr>
            </table>
            <!--Search end-->
            <br />
            <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%" BorderWidth="0px" CellPadding="0" CellSpacing="1" CssClass="gv" GridLines="None"  OnPageIndexChanging ="gridView_PageIndexChanging"
                     DataKeyNames="out_storage_detail_Id" OnRowDataBound="gridView_RowDataBound"
                    AutoGenerateColumns="false" PageSize="10"  RowStyle-HorizontalAlign="Center" OnRowCreated="gridView_OnRowCreated">
                    <Columns>                                                 
		<asp:BoundField DataField="material_detail_id" HeaderText="物料分码" SortExpression="material_detail_id" ItemStyle-HorizontalAlign="Center"  />
                        <asp:BoundField DataField="material" HeaderText="物料" SortExpression="material" ItemStyle-HorizontalAlign="Center"  /> 	                
                             
		<asp:BoundField DataField="use_projectname" HeaderText="用到的项目" SortExpression="use_projectname" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="receive_address" HeaderText="接收人地址" SortExpression="receive_address" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="receive_userName" HeaderText="接收人姓名" SortExpression="receive_userName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="receive_userPhone" HeaderText="接收人电话" SortExpression="receive_userPhone" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="receive_time" HeaderText="接收时间" SortExpression="receive_time" ItemStyle-HorizontalAlign="Center"  /> 
		   <asp:BoundField DataField="user_name" HeaderText="巡检人" SortExpression="user_name" ItemStyle-HorizontalAlign="Center"  /> 
		                 <asp:HyperLinkField HeaderText="巡检" ControlStyle-Width="50" DataNavigateUrlFields="out_storage_detail_Id" DataNavigateUrlFormatString="../inspectioninfos/add.aspx?id={0}"
                                Text="巡检"  />
                         <asp:HyperLinkField HeaderText="记录" ControlStyle-Width="50" DataNavigateUrlFields="out_storage_detail_Id" DataNavigateUrlFormatString="../inspectioninfos/list.aspx?id={0}"
                                Text="记录"  />    
                        </Columns>
                </asp:GridView>
               <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
                <tr>
                    <td style="width: 1px;">                        
                    </td>
                    <td align="left">
                                      
                    </td>
                </tr>
            </table>
</asp:Content>
